#ifndef _MATERIALEDITOR_H_
#define _MATERIALEDITOR_H_
#include <QtGui\QWidget>

namespace Ui{ class MaterialEditor; }

class MaterialEditor : public QWidget
{
  Q_OBJECT

public:
  MaterialEditor(QWidget* parent = 0);
  ~MaterialEditor(void);

private slots:
  void onKeywordChanged(QString keyword, QString format);
  void onEditorKeyEvent(QKeyEvent* e);

private:
  void setKeyword(QString keyword, QString format);

private:
  Ui::MaterialEditor* mpForm;

  QVector<QString>      mKeywordSyntaxes;
  QVector<QString>::iterator mKeywordSyntaxesItr;
};

#endif // _MATERIALEDITOR_H_